package foundation.filter;


import org.glassfish.jersey.server.ResourceConfig;

/**
 * @author futao
 * Created on 18-7-23-上午11:08.
 * jersey注册类
 * 可使用@Prodiver注解代替register()，只需要添加packages()
 */
public class JerseyRegister extends ResourceConfig {
    public JerseyRegister() {
//        packages("filter", "app", "interceptor");
//        this.registerClasses(AnnotationFilter.class)
//            .register(DynamicFilter.class)
//            .register(JerseyFeature.class)
//            .register(RestfullResultWrapper.class)
//            .register(ExceptionWrapper.class);
    }
}
